/* 
 * File:   MainServer.h
 * Author: Bram
 *
 * Created on January 12, 2013, 10:28 PM
 */

#ifndef MAINSERVER_H
#define	MAINSERVER_H

#include <cstdlib>
#include <iostream>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h> 
#include <sys/socket.h>
#include <netinet/in.h>

#include "CommandParser.h"
#include "logger.h"
#include "GeneralSocket.h"
#include "HostInfo.h"
#include "Config.h"

class MainServer {
public:
    MainServer();
    MainServer(const MainServer& orig);
    virtual ~MainServer();
    void StartServer();
    void StopServer();
    void StartClient();
    void StopClient();
    
private:
    void error(const char * errStr);
private:
    CommandParser * cParser;
private:

};

#endif	/* MAINSERVER_H */

